package com.linked.gateway.feign;

import com.linked.gateway.feign.fallback.BaseManageFeignFallBack;
import com.linked.gateway.feign.fallback.UserManageFeignFallBack;
import com.linked.universal.api.UserManageAPI;
import com.linked.universal.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author :dbq
 * @date : 2023/3/27 13:46
 * @description : desc
 */
@FeignClient(value = "Linked-UserManage", fallback = UserManageFeignFallBack.class)
public interface IUserManageFeign extends UserManageAPI {

    @PostMapping(value = "/usermanage/userhandle/queryAllUserList", consumes = MediaType.APPLICATION_JSON_VALUE, produces = MediaType.APPLICATION_JSON_VALUE)
    Result queryAllUserList();
}
